const demo1 = {
    path: '/demo1Module',
    name: 'demo1Module',
    component: () => import('views/demo1/index.vue'),
    redirect: '/demo1Module/demo1aModule/demo1aaModule',
    meta: { title: 'demo1模块' },
    // beforeEnter: (to, from, next) => {
    // },
    children: [
        // demo1a模块
        {
            path: '/demo1Module/demo1aModule',
            name: 'demo1aModule',
            component: () => import('views/demo1/demo1a/index.vue'),
            redirect: '/demo1Module/demo1aModule/demo1aaModule',
            meta: { title: 'demo1a模块' },
            children: [
                {
                    path: '/demo1Module/demo1aModule/demo1aaModule',
                    name: 'demo1aaModule',
                    component: () => import('views/demo1/demo1a/demo1aa.vue'),
                    meta: { title: 'demo1aa模块' },
                },
                {
                    path: '/demo1Module/demo1aModule/demo1abModule',
                    name: 'demo1abModule',
                    component: () => import('views/demo1/demo1a/demo1ab.vue'),
                    meta: { title: 'demo1ab模块' },
                }
            ]
        },
        // demo1b模块
        {
            path: '/demo1Module/demo1bModule',
            name: 'demo1bModule',
            component: () => import('views/demo1/demo1b/index.vue'),
            meta: { title: 'demo1b模块' },
        },
    ],
};

export default demo1;
